<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>nodejs微博开发</title>
    <link rel="stylesheet" href="/stylesheets/style.css">
    <link href="http://cdn.staticfile.org/twitter-bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
   <!--  <link rel="stylesheet" href="/stylesheets/bootstrap-theme.min.css"> -->
    <script src="http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js" type="text/javascript"></script>
    <script src="http://cdn.staticfile.org/twitter-bootstrap/3.3.1/js/bootstrap.min.js" type="text/javascript"></script>

    <!-- 图片回显 -->
    <script type="text/javascript" src="/javascripts/dist/imageuploadshow.js"></script>
    <!-- bootstrapValidator --> 
    <link href="/javascripts/dist/bootstrapValidator.min.css" rel="stylesheet"> 
    <script type="text/javascript" src="/javascripts/dist/bootstrapValidator.min.js"> </script>
  </head>

  <body>
    <nav role="navigation" class="navbar navbar-inverse navbar-default navbar-fixed-top">
      <div class="navbar-header">
        <button type="button" data-toggle="collapse" data-target="#example-navbar-collapse" class="navbar-toggle"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="/before/index" class="navbar-brand">node.js开发微博</a>
      </div>
      <div id="example-navbar-collapse" class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
          <li class="layout-shouye active"><a href="/before/index">首页</a></li>
          <%if(!users){%>
            <li class="layout-reg"><a href="/before/reg">注册</a></li>
            <li class="layout-login"><a href="/before/login">登录</a></li>
          <%}else{%>
            <li class="layout-info"><a href="../after/info">个人信息</a></li>
            <li class="layout-mailer"><a href="../after/mailer">发邮件</a></li>
            <li class="layout-cheerio"><a href="../after/cheerio">爬虫</a></li>
            <li class="layout-download"><a href="../after/download">下载</a></li>
            <li><a href="/before/logout">退出</a></li>
          <%}%>
        </ul>
      </div>
    </nav>

    <div id="container" class="container">
    